#!/bin/bash

# Check if the directory /userdata/system/wine/custom exists
if [ -d "/userdata/system/wine/custom" ]; then
    echo "wine-tkg"
    echo "wine-proton"
    find /userdata/system/wine/custom -mindepth 1 -maxdepth 1 -type d -printf '%P\n' | sort
else
    echo "wine-tkg"
    echo "wine-proton"
fi
